package com.hbnu.factory;

import com.hbnu.service.UserService;

public class UserFactory {
    //静态工厂
   /* public static UserService getService() {
        return new UserService();
    }*/

    //实例工厂，少了个static
    public UserService getService(){
        return new UserService();
    }
}
